<div class="alunos form">

<?php echo $this->Form->create('Aluno');?>
	<fieldset>
		<legend><?php echo __('Editar').' '.$this->Form->value('Aluno.nome'); ?></legend>
	<?php
		echo $this->Form->input('id_alunos');
		echo $this->Form->input('nome');
		echo $this->Form->input('email');
		echo $this->Form->input('admin', array('label'=>'Administrador?'));
	?>
	</fieldset>
	<div class="actions">
		<?php echo $this->Form->end(__('Gravar'));?>
		<?php echo $this->Form->postLink(__('Apagar'), array('action' => 'apagar', $this->Form->value('Aluno.id_alunos')), null, __('Deseja apagar %s?', $this->Form->value('Aluno.nome'))); ?>
		<?php echo $this->Html->link(__('Voltar'), array('action' => 'lista'));?>
	</div>
</div>
